package com.qigao.mall.jdbc.model;

import java.math.BigDecimal;
import java.util.Date;

public class TbSettleDetail {
    private Long id;

    private String settleNo;

    private Date settleDate;

    private BigDecimal profitAmt;

    private BigDecimal bonusAmt;

    private BigDecimal unsettleAmt;

    private BigDecimal actSettleAmt;

    private String ownerType;

    private String ownerNo;

    private String ownerName;

    private String accountNo;

    private String accountName;

    private String compNo;

    private String compName;

    private Integer version;

    private Date createTime;

    private String createNo;

    private Date modiTime;

    private String modiNo;

    public Long getId() {
        return id;
    }

    public void setId(Long id) {
        this.id = id;
    }

    public String getSettleNo() {
        return settleNo;
    }

    public void setSettleNo(String settleNo) {
        this.settleNo = settleNo == null ? null : settleNo.trim();
    }

    public Date getSettleDate() {
        return settleDate;
    }

    public void setSettleDate(Date settleDate) {
        this.settleDate = settleDate;
    }

    public BigDecimal getProfitAmt() {
        return profitAmt==null?BigDecimal.ZERO:profitAmt;
    }

    public void setProfitAmt(BigDecimal profitAmt) {
        this.profitAmt = profitAmt;
    }

    public BigDecimal getBonusAmt() {
        return bonusAmt==null?BigDecimal.ZERO:bonusAmt;
    }

    public void setBonusAmt(BigDecimal bonusAmt) {
        this.bonusAmt = bonusAmt;
    }

    public BigDecimal getUnsettleAmt() {
        return unsettleAmt==null?BigDecimal.ZERO:unsettleAmt;
    }

    public void setUnsettleAmt(BigDecimal unsettleAmt) {
        this.unsettleAmt = unsettleAmt;
    }

    public BigDecimal getActSettleAmt() {
        return actSettleAmt==null?BigDecimal.ZERO:actSettleAmt;
    }

    public void setActSettleAmt(BigDecimal actSettleAmt) {
        this.actSettleAmt = actSettleAmt;
    }

    public String getOwnerType() {
        return ownerType;
    }

    public void setOwnerType(String ownerType) {
        this.ownerType = ownerType == null ? null : ownerType.trim();
    }

    public String getOwnerNo() {
        return ownerNo;
    }

    public void setOwnerNo(String ownerNo) {
        this.ownerNo = ownerNo == null ? null : ownerNo.trim();
    }

    public String getOwnerName() {
        return ownerName;
    }

    public void setOwnerName(String ownerName) {
        this.ownerName = ownerName == null ? null : ownerName.trim();
    }

    public String getAccountNo() {
        return accountNo;
    }

    public void setAccountNo(String accountNo) {
        this.accountNo = accountNo == null ? null : accountNo.trim();
    }

    public String getAccountName() {
        return accountName;
    }

    public void setAccountName(String accountName) {
        this.accountName = accountName == null ? null : accountName.trim();
    }

    public String getCompNo() {
        return compNo;
    }

    public void setCompNo(String compNo) {
        this.compNo = compNo == null ? null : compNo.trim();
    }

    public String getCompName() {
        return compName;
    }

    public void setCompName(String compName) {
        this.compName = compName == null ? null : compName.trim();
    }

    public Integer getVersion() {
        return version;
    }

    public void setVersion(Integer version) {
        this.version = version;
    }

    public Date getCreateTime() {
        return createTime;
    }

    public void setCreateTime(Date createTime) {
        this.createTime = createTime;
    }

    public String getCreateNo() {
        return createNo;
    }

    public void setCreateNo(String createNo) {
        this.createNo = createNo == null ? null : createNo.trim();
    }

    public Date getModiTime() {
        return modiTime;
    }

    public void setModiTime(Date modiTime) {
        this.modiTime = modiTime;
    }

    public String getModiNo() {
        return modiNo;
    }

    public void setModiNo(String modiNo) {
        this.modiNo = modiNo == null ? null : modiNo.trim();
    }
}